@extends('Admin.layout.layout')
@section('title')
<title>lamp178官网 - 后台维护</title>
@endsection
@section('con')
  <div class="row">
                <div class="col-lg-12">
                    <h1>维护</h1>
                    <h4 style="margin-top:25px">亲爱的管理员</h4>
                    <h4 style="margin-top:15px;margin-left:40px;">我们的网站又需要改进了吗   ？ 祝愿越改越好</h4>
                    <h4 class="page-header" style="margin-top: 0px;"></h4>
                </div>
                
                <!-- /.col-lg-12 -->
            </div>
          @if (count($errors) >0)
          <div class="alert alert-danger">
            <ul>
              @foreach($errors->all() as $error)
              <li>{{ $error }}</li>
              @endforeach
            </ul>
          </div>
          @endif
          <form action="{{url('/admin/peizhi/update')}}" method="post" class="form-horizontal" enctype="multipart/form-data">
           
           <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">状态</label>
                    <div class="col-xs-4">
                     <select class="form-control" name="peizhi">

                           <option value="1" @if($users->peizhi == 1) selected @endif>开启</option>
                           <option value="0" @if($users->peizhi == 0) selected @endif>关闭</option>
                          
                           </select>
                   
                  </div>
                  </div>
                
            
                  {{csrf_field()}}
                 
                <div class="col-md-6 col-md-offset-3" style="border-top-width: 20px;margin-top: 20px;">
                
                <button type="submit" class="btn btn-primary btn-lg">提交</button>
            
                
                </div>
            </form>
@endsection